// IncreaseOne.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <limits>
#include <iostream.h>
using namespace std;

int main(int argc, char* argv[])
{
	int num=INT_MAX-2;
	int cnt=0;
	cout<<"Integer overfolw in C++:"<<endl;
	cout<<"Incrementing from "<<num<<endl;
	while(cnt<5)
	{
		num++;
		cnt++; //increment operators
		cout<<cnt<<" "<<num<<endl;
	}

	return 0;
}


   